package com.code.point.config.bean;

import com.code.common.web.handlers.GlobalExceptionHandler;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 全局异常处理器相关的配置类
 *
 * @author tangyifei
 */
@Configuration
public class BeanConfig {

    @Bean
    public GlobalExceptionHandler globalExceptionHandler() {
        return new GlobalExceptionHandler();
    }

//    @Bean
//    public Converter flowRuleConverter() {
//        return new JsonFlowRuleListConverter();
//    }

}
